/***************************************************
Class: GlobalVars
Includes: d3dx9.h, string.h
Editors: Gindi
Existing Issues: None
Description: Global variables used througout the application.
***************************************************/
#pragma once

#include <d3dx9.h>
#include <string>
using namespace std;

static int g_WindowX					= 5;
static int g_WindowY					= 5;
static string g_TextureLocation			= "Graphics\\Textures\\";
static string g_AttMarkerFile			= "Graphics\\Models\\GameMarkers\\Attack.x";
static string g_DefMarkerFile			= "Graphics\\Models\\GameMarkers\\Defend.x";
static float g_MarkerYOffset			= 20.0f;
static float g_MarkerRotationSpeed		= 2.0f;
static bool g_AAEnabled					= true;
static bool g_ShowFPS					= true;
static bool g_ShowNumObjectsRendered	= true;
static D3DXVECTOR3 g_cameraOffsetTD		= D3DXVECTOR3(0.0f,40.0f,-7.0f);
static D3DXVECTOR3 g_cameraOffset3P		= D3DXVECTOR3(0.0f,1.5f,5.0f);
static float g_playerDestDist			= 15.0f;
static float g_BulletOffsetMultiplier	= 1.5f;
static float g_BombDetonationHeight		= 5.0f;
static float g_BombFlashMultiplier		= 5.0f;
static float g_MuzzleFlashDist			= 5.0f;
static float g_MuzzleFlashRange			= 30.0f;
static float g_BoundingRadiusModifier	= 4.0f;		// 3.0f for normal radius, used 4.0f to make units a tiny bit harder to hit
static int g_PlayerLightsStart			= 2;
static int g_FreeLightStart				= 4;
static int g_MAX_LIGHTS					= 8;
static bool g_AiMuzzleFlash				= true;
static float g_HpRegenTimerMax			= 1.0f;
static float g_ShootingRangeModifier	= 0.6f;
static float g_SlowMotionModifier		= 0.3f;
static float g_CurrentModifier			= 1.0f;
static float g_OutOfBoundsTimeMax		= 5.0f;
// unit level scaling modifiers
static float g_ValueModifier			= 1.0f;
static float g_MaxHpModifier			= 0.2f;
static float g_WeaponDmgModifier		= 0.2f;
static float g_MaxVelocityModifier		= 0.05f;
static float g_MaxTurningSpeedModifier	= 0.02f;
// unit randomacy modifiers
static int g_MaxVelocityModifier2		= 20;
static int g_MaxTurningSpeedModifier2	= 10;
// world physics
static float g_Gravity					= 1.0f;		// acceleration per second
static float g_AtmosphericResistance	= 0.1f;		// percentage
static float g_FreeFallTerminalVelocity	= 3.0f;		// max velocity of a free-falling object
